package com.stu.dao;

import com.stu.po.Class;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClassMapper {
    Class classInfo(@Param("classId") Integer classId, @Param("className") String className);

    Integer classByName(@Param("className") String className, @Param("majorId") Integer majorId);

    Integer classAdd(@Param("className") String className, @Param("majorId") Integer majorId);

    List<Class> classList();
}
